import request from "@/utils/request";

function selectshelved(query) {
  return request({
    url: '/book/shelved/getList',
    method: 'get',
    params: query
  })
}

//图书上架

function addShelved(query) {
  return request({
    url: '/book/shelved/upShelve',
    method: 'post',
    params: query
  })
}

//图书下架

function downShelved(query) {
  return request({
    url: '/book/shelved/offShelve',
    method: 'post',
    params: query
  })
}

export {
  selectshelved,
  addShelved,
  downShelved
}
